package ch.bfh.abhmcm.SoftwareEngineeringAndDesign.view.mainframe.historyRFCPanel.historyRFCPanelSubs.listeners;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import ch.bfh.abhmcm.SoftwareEngineeringAndDesign.controller.historyRFC.LoadspecHistoryThread;
import ch.bfh.abhmcm.SoftwareEngineeringAndDesign.view.mainframe.historyRFCPanel.HistoryRFCPanel;

public class LoadSpecHistoryButtonListener implements ActionListener {
	
	private HistoryRFCPanel historyRFCPanel;
	
	public  LoadSpecHistoryButtonListener(HistoryRFCPanel historyRFCPanel){
		this.historyRFCPanel = historyRFCPanel;
	}

	@Override
	public void actionPerformed(ActionEvent arg0) {

		
		new LoadspecHistoryThread(historyRFCPanel).start();
		
	}

}
